package com.mao.answercloudapi.controller;

import com.mao.answercloudapi.rpc.TestService;
import com.mao.answersclouscommon.common.JsonResponseMsg;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class TestController {

    @Resource
    TestService testService;

    @RequestMapping("/logoutTest")
    public JsonResponseMsg logout(){
        return testService.logout();
    }
}
